package variabilitysmelldetection.measurement.measures.spl;

import java.util.List;

import variabilitysmelldetection.measurement.measures.Measure;
import variabilitysmelldetection.measurement.models.ComponentItem;



public class NumberOfComponents extends Measure {

	public NumberOfComponents() {
		super("Number of Components", "NOC");
	}

	@Override
	public void measure(List<ComponentItem> items) {
		setValue(items.size());
	}
}